package org.hxyjs.dao;


import org.hxyjs.entity.Subject;
import org.hxyjs.entity.Subject;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface SubjectDao {
    public List<Subject>  getAllSubjects() throws Exception;
    Integer deleteSubjectBySjno(String sjno) throws Exception;
    Integer updateSubjectBySjno(Subject subject) throws Exception;
    Integer addSubject(Subject subject) throws Exception;
    public List<Subject> getSubjectByPage(PageInfo pageInfo) throws Exception;
}
